//
//  HZAddressToolPanel.h
//  app
//
//  Created by 刘华舟 on 15/5/13.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HZOrderByerAddressModel;

typedef NS_ENUM(NSInteger, AddrToolPanelBtnTag) {
    AddrToolPanelBtnTagSetDefault,
    AddrToolPanelBtnTagEdit,
    AddrToolPanelBtnTagDelete,
    AddrToolPanelBtnTagCancel
};

@protocol HZAddressToolPanelDelegate <NSObject>

@optional

- (void)addressToolPanelBtnOnClickWithModel:(HZOrderByerAddressModel *)model buttonTag:(AddrToolPanelBtnTag)tag;

@end

@interface HZAddressToolPanel : UIView

@property (weak, nonatomic) id<HZAddressToolPanelDelegate>delegate;

- (void)showPanelWithModel:(HZOrderByerAddressModel *)model;

@end
